/**
 * Created by huanghaiming on 2017/1/11.
 */

'use strict';
import React from 'react';
import {
    View,
    Text
} from 'react-native';
import GCStyle from './GCStyle';

export default {
    TipIcon(content, ViewColor){
        return (

            <View style={{ justifyContent: 'center', alignItems: 'center', height: 14, width: 14, borderRadius: 4, backgroundColor: ViewColor}}>
                <Text style={{backgroundColor: 'rgba(0,0,0,0)', fontSize: 10, color: 'white'}}>{content}</Text>
            </View>
        )
    },
    lineAction(top,left){
        return(
            <View style={[GCStyle.GCOrderCell.lineStyle, {
                marginTop: top,marginLeft:left
            }]}></View>
        )
    }


}